﻿@namespace MduiBlazor
@inherits MduiComponentBase

<NavLink href="@Href" class="@Classname" style="@Stylelist" ActiveClass="mdui-list-item-active" Match="@Match"
@attributes="@AdditionalAttributes">
    @if (IconContent is not null)
    {
        @IconContent
    }
    else if (Icon is not null)
    {
        <MduiIcon Icon="@Icon" />
    }
    <div class="mdui-list-item-content">
        @if (ChildContent is not null)
        {
            @ChildContent
        }
        else
        {
            @Title
        }
    </div>
</NavLink>